package com.imooc.admin.controller;

import org.springframework.security.crypto.bcrypt.BCrypt;

/**
 * @Description :
 * @Author : YTY
 * @Date : 2020-12-02 15:53
 */
public class PWDTest {

    public static void main(String[] args) {

        /**
         * 密码加盐
         */
        System.out.println(BCrypt.hashpw("admin", BCrypt.gensalt()));
    }
}
